home *** CD-ROM | disk | FTP | other *** search
/ il gioco del Kamasutra / Milo Manara Kamasutra.iso / mac / DATA / ParteIII / GameIV / Parete4 / Muro.dir / 00013_Script_13 < prev    next >
Text File  |  1997-11-23  |  1KB  |  38 lines

  1. on mouseUp
  2.   
  3.   
  4.   Global SequenzaFigure4
  5.   PuppetSprite 8, true
  6.   set the mouseUpScript to "dontPassEvent"
  7.   set the mouseDownScript to "dontPassEvent"
  8.   if SequenzaFigure4 = 4 then
  9.     set the member of sprite 8 to member "Movie4Up"
  10.     updatestage
  11.     puppetSound 3, "Click 1"
  12.     set the movierate of sprite 8 to 1
  13.     set SequenzaFigure4 = SequenzaFigure4 + 1
  14.     repeat while the movietime of sprite 8 < 60
  15.       updatestage
  16.     end repeat
  17.     set the member of sprite 8 to member "Down4"
  18.     updatestage
  19.     set the scriptnum of sprite 8 to 8
  20.   else
  21.     
  22.     set the member of sprite 8 to member "Movie4Up"
  23.     updatestage
  24.     puppetSound 3, "Click 1b"
  25.     set the movierate of sprite 8 to 1
  26.     repeat while the movietime of sprite 8 < 125
  27.       updatestage
  28.     end repeat
  29.     
  30.     repeat with n = 1 to 5
  31.       set the member of sprite 4 + n to member ("Up" & n)
  32.       set the scriptnum of sprite 4 + n to 9 + n
  33.       updatestage
  34.     end repeat
  35.     set SequenzaFigure4 = 1
  36.   end if
  37.   
  38. end